package com.nation.domain;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Date;

/**
 * Created by dqd on 2017/11/3.
 */
@Entity
@Table(name = "T_nature_and_resource", schema = "show_nation", catalog = "")
public class TNatureAndResource implements Serializable {
    private int id;
    private String country_code;
    private String geography;
    private String climate;
    private String mineral_resource;
    private String biological_resource;
    private String energy_resource;
    private String reference;
    private String statistics;
    private String conferences;
    private String picture;
    private String recoder_id;
    private String recoder_time;


    private String nation_z;
    private String continent;
//
//
    public TNatureAndResource(String statistics,String conferences,String geography,String climate,String mineral_resource,String biological_resource,String energy_resource,String country_code,String reference){
        this.statistics=statistics;
        this.conferences=conferences;
        this.geography=geography;
        this.climate=climate;
        this.mineral_resource=mineral_resource;
        this.biological_resource=biological_resource;
        this.energy_resource=energy_resource;
        this.country_code=country_code;
        this.reference=reference;
    }
    public TNatureAndResource(){}


    public String getContinent() {
        return continent;
    }

    public void setContinent(String continent) {
        this.continent = continent;
    }

    public String getNation_z() {
        return nation_z;
    }

    public void setNation_z(String nation_z) {
        this.nation_z = nation_z;
    }

    @Id
    @Column(name = "id", nullable = false)
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Basic
    @Column(name = "country_code", nullable = false, length = 4)
    public String getCountry_code() {
        return country_code;
    }

    public void setCountry_code(String country_code) {
        this.country_code = country_code;
    }

    @Basic
    @Column(name = "geography", nullable = true, length = 255)
    public String getGeography() {
        return geography;
    }

    public void setGeography(String geography) {
        this.geography = geography;
    }

    @Basic
    @Column(name = "climate", nullable = true, length = 255)
    public String getClimate() {
        return climate;
    }

    public void setClimate(String climate) {
        this.climate = climate;
    }

    @Basic
    @Column(name = "mineral_resource", nullable = true, length = 255)
    public String getMineral_resource() {
        return mineral_resource;
    }

    public void setMineral_resource(String mineral_resource) {
        this.mineral_resource = mineral_resource;
    }

    @Basic
    @Column(name = "biological_resource", nullable = true, length = 255)
    public String getBiological_resource() {
        return biological_resource;
    }

    public void setBiological_resource(String biological_resource) {
        this.biological_resource = biological_resource;
    }

    @Basic
    @Column(name = "energy_resource", nullable = true, length = 255)
    public String getEnergy_resource() {
        return energy_resource;
    }

    public void setEnergy_resource(String energy_resource) {
        this.energy_resource = energy_resource;
    }

    @Basic
    @Column(name = "reference", nullable = false, length = 255)
    public String getReference() {
        return reference;
    }

    public void setReference(String reference) {
        this.reference = reference;
    }

    @Basic
    @Column(name = "statistics", nullable = false, length = 255)
    public String getStatistics() {
        return statistics;
    }

    public void setStatistics(String statistics) {
        this.statistics = statistics;
    }

    @Basic
    @Column(name = "conferences", nullable = false, length = 255)
    public String getConferences() {
        return conferences;
    }

    public void setConferences(String conferences) {
        this.conferences = conferences;
    }

    @Basic
    @Column(name = "picture", nullable = true, length = 255)
    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    @Basic
    @Column(name = "recoder_id", nullable = false, length = 3)
    public String getRecoder_id() {
        return recoder_id;
    }

    public void setRecoder_id(String recoder_id) {
        this.recoder_id = recoder_id;
    }

    public String getRecoder_time() {
        return recoder_time;
    }

    public void setRecoder_time(String recoder_time) {
        this.recoder_time = recoder_time;
    }


}
